package com.vhall.component;

import com.vhall.component.framework.annotation.EnableVhallComponents;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableScheduling
@EnableVhallComponents
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = {"com.vhall.component"})
@Slf4j
public class ComponentApplication {

    public static void main(String[] args) {
        SpringApplication.run(ComponentApplication.class, args);
        log.info("service 启动成功！");
    }

}
